/**
 * tarside-ftp -- A simple FTP client, using the ANSI C and GTK+.
 * Copyright (C) 2011  degui.chen <degui.chen@qq.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include "upload.h"
void upload_info(GtkWidget *paned1) {
	GtkWidget *notebook = gtk_notebook_new();

	GtkWidget *label1 = gtk_label_new("Queued files");
	GtkWidget *frame1 = gtk_text_view_new();
	gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame1, label1);

	GtkWidget *label2 = gtk_label_new("Failed transfers");
	GtkWidget *frame2 = gtk_text_view_new();
	gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame2, label2);

	GtkWidget *label3 = gtk_label_new("Successful taransfers");
	GtkWidget *frame3 = gtk_text_view_new();
	gtk_notebook_append_page(GTK_NOTEBOOK(notebook), frame3, label3);

	gtk_paned_add2(GTK_PANED(paned1), notebook);/*将滚动窗口构件加入到分栏窗口构件的左窗口*/
}
